package com.xxxx.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.pojo.Lecturereverse;
import com.xxxx.server.pojo.RespBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LT
 * @since 2022-02-27
 */
public interface ILecturereverseService extends IService<Lecturereverse> {

    /**
     * 根据登录id查询对应讲座预定信息
     * @return
     * @param lecturereverse
     */
    List<Lecturereverse> getALlLectureReverseByUserId(Lecturereverse lecturereverse);

    /**
     * 添加传入讲座id进行讲座预定
     * @param lecturereverse
     * @return
     */
    RespBean addLectureReverse(Lecturereverse lecturereverse);


    /**
     * 通过预定id删除预定信息
     * @param lecturereverse
     * @return
     */
    RespBean deleteLectureReverseById(Lecturereverse lecturereverse);


}
